package com.dc.system.model;

import java.io.Serializable;

public class SysUserRole implements Serializable {
    /**
     *   用户角色自增id
     *
     */
    private int user_role_id;

    /**
     *   用户id
     *
     */
    private int fk_user_id;

    /**
     *   角色id
     *
     */
    private int fk_role_id;

    /**
     * 版本号
     */
    private int version;

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }


    /**
     */
    private static final long serialVersionUID = 1L;

    
    public int getUser_role_id() {
		return user_role_id;
	}

	public void setUser_role_id(int user_role_id) {
		this.user_role_id = user_role_id;
	}

	public int getFk_user_id() {
		return fk_user_id;
	}

	public void setFk_user_id(int fk_user_id) {
		this.fk_user_id = fk_user_id;
	}

	public int getFk_role_id() {
		return fk_role_id;
	}

	public void setFk_role_id(int fk_role_id) {
		this.fk_role_id = fk_role_id;
	}

	@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", user_role_id=").append(user_role_id);
        sb.append(", fk_user_id=").append(fk_user_id);
        sb.append(", fk_role_id=").append(fk_role_id);
        sb.append("]");
        return sb.toString();
    }

   
}